package com.example.ssm1.service;

import com.example.ssm1.exception.BusinessException;
import com.example.ssm1.model.User;

import java.util.List;

public interface IUserService {

    List<User> getUserList();

    User getUserByName(String username, String password) throws BusinessException, BusinessException;

    User getUserDetail(Integer id);
}
